package com.zrrd.jt_admin.common.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ZhangYK
 * @version 8.0
 * @title LoginDto
 * @description
 * @create 2024/6/17 21:18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
//@ApiModel(value = "标注某个对象的名称",description = "该对象的描述信息")
@ApiModel(value = "用户登录的DTO对象",description = "用来存放前端向后端传入的用户名和密码")
public class LoginDto {
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "密码")
    private String password;
}
